/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.vinisoft.gymwebapp.model.facades;

import com.vinisoft.gymwebapp.model.entities.GymCompania;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author vinikike
 */
@Stateless
@LocalBean
public class GymCompaniaFacade extends DefaultAbstractFacade<GymCompania, Integer> {
    @PersistenceContext(unitName = "GymWebApp-PU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public GymCompaniaFacade() {
        super(GymCompania.class);
    }
    
}
